The timeout ID used to be unset after we got the targets from the
clipboard, but there's still a moment between the clipboard request and
the GDK_SELECTION_NOTIFY event that the ID points to an already gone
timeout.
gtk_popover_set_pointing_to (GTK_POPOVER (priv->selection_bubble), &rect);
gtk_widget_show (priv->selection_bubble);
-
- priv->selection_bubble_timeout_id = 0;
}
static gboolean
gdk_atom_intern_static_string ("TARGETS"),
bubble_targets_received,
text_view);
+ text_view->priv->selection_bubble_timeout_id = 0;
return G_SOURCE_REMOVE;
}